package com.yami.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yami.shop.bean.dto.ShopCustomerDTO;
import com.yami.shop.bean.model.ShopCustomer;
import com.yami.shop.bean.vo.ShopCustomerVO;
import com.yami.shop.common.util.PageParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 *
 *
 * @author LGH
 * @date 2023-01-12 10:37:54
 */
public interface ShopCustomerMapper extends BaseMapper<ShopCustomer> {

    IPage<ShopCustomerVO> pageShopCustomerByParam(PageParam<ShopCustomerVO> page, @Param("shopCustomer") ShopCustomerDTO shopCustomer);

    List<ShopCustomerVO> listByParam(@Param("shopCustomer")ShopCustomerDTO shopCustomer);
}
